package com.hoshiicloud.goods.param.goods;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
* <p>
* 修改商品属性参数
* </p>
*
* @author zhangshuhu
* @since 2019-06-04
*/
@Data
@ApiModel(value="修改商品属性", description="修改商品属性")
public class GoodsPropertiesUpdateParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID",required =true)
    @NotNull(message = "商品属性ID不能为空")
    private Long id;


    @ApiModelProperty(value = "属性名")
    private String propertyName;

    @ApiModelProperty(value = "输入形式 1-文本值 2-单选值 3-多选值")
    private Integer inputType;


    @ApiModelProperty(value = "是否必填 0 否 1 是")
    private Integer required;

    @ApiModelProperty(value = "属性值")
    private String propertyValue;

    @ApiModelProperty(value = "属性值",hidden = true)
    private String updatedBy;


}
